package org.ccay.core.orm;

import org.apache.ibatis.mapping.SqlSource;
import org.apache.ibatis.parsing.XNode;
import org.apache.ibatis.scripting.xmltags.XMLLanguageDriver;
import org.apache.ibatis.session.Configuration;

public class ExtendedScriptingLanguage extends XMLLanguageDriver{
	

	@Override
	public SqlSource createSqlSource(Configuration configuration, XNode script, Class<?> parameterType) {
		ExtendedXMLScriptBuilder builder = new ExtendedXMLScriptBuilder(configuration, script, parameterType);
		return builder.parseScriptNode();
	}
	  
}
